Auto merge of #1642 - alexcrichton:opt-fs, r=huonw
authorbors <bors@rust-lang.org>
Wed, 27 May 2015 19:16:14 +0000 (19:16 +0000)
committerbors <bors@rust-lang.org>
Wed, 27 May 2015 19:16:14 +0000 (19:16 +0000)
commit8fa3aaf697c0d641736b2c68b8fc5aeebe027ec6
tree48f49d0f36476676c1769d35336abc64decf6c4b
parentcd46b343a6bf34a4d4ae8833b8fa18ed1a300ac5
parent046a6c59e96d64a8e9d47031a5c0a863c57a8a7a
Auto merge of #1642 - alexcrichton:opt-fs, r=huonw

Traversing large directory trees can take quite some time, and this commit optimizes a few locations to reduce the number of calls to `fs::metadata`.
src/cargo/sources/path.rs